<!DOCTYPE html>
<html lang="zh-CN">
<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width,initial-scale=1">
	<title>爱租官网_租房网站,房屋出租信息_单身公寓,酒店式公寓</title>
	<link rel="icon" href="_img_/logo.ico"> 
	{css href="_js_/layui/css/layui.css"}
	{js href="_js_/jquery2.1.4.min.js"}
	{js href="_js_/layer/layer.js"}
	{js href="_js_/layui/layui.js"}
	{css href="_css_/index.css"}
</head>
<body>
	<div class="layui-row header">
		<ul class='layui-nav daohang'>
			<li class="layui-nav-item layui-col-md-offset1"><a href=""><img class="logo" src="_img_/logo.png"></a></li>
			<!-- <li class="layui-nav-item  layui-col-space30"><a href=""><img class="location" src="_img_/hang.jpeg"></a></li> -->
			<li class="layui-nav-item layui-col-xs-offset2"><a href="{:url('index/index/index')}">首页</a></li>
			<li class="layui-nav-item"><a href="{:url('index/renter/select')}">我要租房</a></li>
			<li class="layui-nav-item"><a href="{:url('index/owner/index')}">业主委托</a></li>
			<li class="layui-nav-item"><a href="{:url('index/service/index')}">服务</a></li>
			<li class="layui-nav-item"><a href="{:url('index/club/index')}">社区</a></li>
			<li class="layui-nav-item"><a href="{:url('index/about/index')}">我们</a></li>
			<!-- <li class="layui-nav-item"><a href="">地图找房</a></li> -->
			{empty name="$Think.session.nickname"}
			<li class="layui-nav-item"><a href="{:url('index/login/login')}">登录</a></li>
			<li class="layui-nav-item regist"><a href="javascript:;">注册</a></li>
			{else}
			<li class="layui-nav-item">
				<a href="javascript:;"><i class="layui-icon">&#xe612;&nbsp;&nbsp;&nbsp;{$Think.session.nickname}</i></a>
		    <dl class="layui-nav-child">
		      <dd><a class="myself" href="javascript:;">个人中心</a></dd>
		      <dd><a href="{:url('index/login/logout')}">注销</a></dd>
		    </dl>
			</li>
			{/empty}
			<!-- <li><a href=""><b>APP下载</b></a></li> -->
		</ul>
	</div>

<style type="text/css">
	.dh{font-weight:900;color:#ff3366!important;}
</style>
<script type="text/javascript">
	//选中后的状态

	$('.daohang>li>a').each(function(){
		if($($(this))[0].href==String(window.location)){
			$(this).addClass('dh');
		}
	});


	//个人中心
	$('.myself').click(function(){
		layer.open({
			type:2,
			title:'个人中心',
			content:['{:url('index/vip/myself')}'],
			area:['500px','400px'],
		})
	});

	//注册
	$('.regist').click(function(){
		layer.open({
			type:2,
			title:false,
			content:['{:url('index/login/regist')}','no'],
			area:['400px','600px'],
			closeBtn:0
		})
	});

	$('#foot_link2').click(function(){
		layer.tips('<p class="flink"><span>热门区域</span><a href="">武进区1</a><a href="">武进区2</a><a href="">武进区3</a><a href="">武进区4</a><a href="">武进区5</a></p><p class="flink"><span>热门公寓</span><a href="">文渊楼1</a><a href="">文渊楼2</a><a href="">文渊楼3</a><a href="">文渊楼4</a><a href="">文渊楼5</a></p>', '#foot_link2',{tips:[3,'#ffffff'],area:['430px','90px'],time:100000});
	});
	$('.f2').click(function(){
		layer.closeAll();
	});
</script>